//
//  ONAlertConfirmView.h
//  OrderNow
//
//  Created by Binh on 3/27/14.
//  Copyright (c) 2014 Familly. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol ONAlertConfirmViewDelegate<NSObject>
@optional
-(void)clickButtonOk:(id)sender;
-(void)clickButtonCancel:(id)sender;
@end

@interface ONAlertConfirmView : UIView<ONAlertConfirmViewDelegate>
@property (nonatomic, weak) IBOutlet UITextView *txtView;
@property (nonatomic, weak) IBOutlet UIButton *btnOk;
@property (nonatomic, weak) IBOutlet UIButton *btnCancel;
@property (nonatomic, weak) IBOutlet UIView *bgView;
@property (nonatomic, weak) id <ONAlertConfirmViewDelegate> delegate;
@property (nonatomic, weak) IBOutlet UILabel *labtitle;
- (id)initWithFrame:(CGRect)frame andText:(NSString*)strText;
- (id)initWithFrame:(CGRect)frame andText:(NSString*)strText andLableView:(NSString*)strLable;

@end
